home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ttf-kochi-gothic.postinst < prev    next >
Text File  |  2008-08-15  |  1KB  |  54 lines

  1. #! /bin/sh
  2. # postinst script for ttf-kochi-naga10
  3. #
  4. # see: dh_installdeb(1)
  5.  
  6. set -e
  7.  
  8. PACKAGE_NAME=ttf-kochi-gothic
  9. DEFOMA_HINTS_FILE=/etc/defoma/hints/$PACKAGE_NAME.hints
  10.  
  11. # summary of how this script can be called:
  12. #        * <postinst> `configure' <most-recently-configured-version>
  13. #        * <old-postinst> `abort-upgrade' <new version>
  14. #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
  15. #          <new-version>
  16. #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
  17. #          <failed-install-package> <version> `removing'
  18. #          <conflicting-package> <version>
  19. # for details, see http://www.debian.org/doc/debian-policy/ or
  20. # the debian-policy package
  21. #
  22. # quoting from the policy:
  23. #     Any necessary prompting should almost always be confined to the
  24. #     post-installation script, and should be protected with a conditional
  25. #     so that unnecessary prompting doesn't happen if a package's
  26. #     installation fails and the `postinst' is called with `abort-upgrade',
  27. #     `abort-remove' or `abort-deconfigure'.
  28.  
  29. case "$1" in
  30.     configure)
  31.  
  32.         /usr/bin/defoma-font -vt reregister-all $DEFOMA_HINTS_FILE
  33.  
  34.     ;;
  35.  
  36.     abort-upgrade|abort-remove|abort-deconfigure)
  37.  
  38.     ;;
  39.  
  40.     *)
  41.         echo "postinst called with unknown argument \`$1'" >&2
  42.         exit 1
  43.     ;;
  44. esac
  45.  
  46. # dh_installdeb will replace this with shell code automatically
  47. # generated by other debhelper scripts.
  48.  
  49.  
  50.  
  51. exit 0
  52.  
  53.  
  54.